package com.xnew.utils;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "msg")
@XmlType(propOrder = { "msgHeader", "msgBody", "outputXML" })
public class Msg {

	@XmlElement(name = "msgHeader")
	private MsgHeader msgHeader;

	@XmlElement(name = "msgBody")
	private MsgBody msgBody;

	public MsgHeader getMsgHeader() {
		return msgHeader;
	}

	public void setMsgHeader(MsgHeader msgHeader) {
		this.msgHeader = msgHeader;
	}

	public MsgBody getMsgBody() {
		return msgBody;
	}

	public void setMsgBody(MsgBody msgBody) {
		this.msgBody = msgBody;
	}
	
	@XmlElement(name = "OutputXML")
	private OutputXML outputXML;
	
	public OutputXML getOutputXML() {
		return outputXML;
	}

	public void setOutputXML(OutputXML outputXML) {
		this.outputXML = outputXML;
	}
	
}
